package com.dyrj.pig.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dyrj.vo.Pagetag;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author @blue
 * @since 2020-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_USER")
public class TUser extends Pagetag implements Serializable  {

    private static final long serialVersionUID = 1L;

    /**
     * 用户编码
     */
    @TableId(value = "YHBM", type = IdType.AUTO)
    private Integer yhbm;

    /**
     * 姓名
     */
    @TableField("XM")
    private String xm;

    /**
     * 手机号
     */
    @TableField("MOBILE")
    private String mobile;

    /**
     * 住址
     */
    @TableField("ZZ")
    private String zz;

    /**
     * 性别
     */
    @TableField("SEX")
    private String sex;

    /**
     * 身份证号
     */
    @TableField("SFZH")
    private String sfzh;

    /**
     * 类型0用户1屠宰户2养殖户
     */
    @TableField("LX")
    private Integer lx;

    @TableField(exist = false)
    private Integer qlx;

    /**
     * 备注
     */
    @TableField("BZ")
    private String bz;

    /**
     * 银行卡号
     */
    @TableField("YHKH")
    private String yhkh;
    /**
     * 银行卡类型
     */
    @TableField("YHKLX")
    private String yhklx;
    /**
     * 银行名称
     */
    @TableField("YHMC")
    private String yhmc;
    /**
     * 银行代码
     */
    @TableField("YHDM")
    private String yhdm;

    /**
     * 绑定状态
     */
    @TableField("BDZT")
    private String bdzt;

    /**
     * 子账号
     */
    @TableField("SUBNO")
    private String subno;
    private Integer messageno;
    private Date accepttime;

    public Integer getMessageno() {
        return messageno;
    }

    public void setMessageno(Integer messageno) {
        this.messageno = messageno;
    }

    public Date getAccepttime() {
        return accepttime;
    }

    public void setAccepttime(Date accepttime) {
        this.accepttime = accepttime;
    }

    /**
     * 交易网会员代码 平台端的用户ID，需要保证唯一性，可数字字母混合，如HY_120，
     */
    @TableField("MEMBERCODE")
    private String membercode;

    /**
     * 余额
     */
    @TableField("TOTALMONEY")
    private String totalmoney;

    /**
     * 提现余额
     */
    @TableField("WITHDRAWMONEY")
    private String withdrawmoney;

    /**
     * 充值是否冻结，支付模式（0-冻结支付，1-普通支付）
     */
    @TableField("PAYMODEL")
    private String paymodel;

    public Integer getYhbm() {
        return yhbm;
    }

    public void setYhbm(Integer yhbm) {
        this.yhbm = yhbm;
    }

    public String getXm() {
        return xm;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getZz() {
        return zz;
    }

    public void setZz(String zz) {
        this.zz = zz;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSfzh() {
        return sfzh;
    }

    public void setSfzh(String sfzh) {
        this.sfzh = sfzh;
    }

    public Integer getLx() {
        return lx;
    }

    public void setLx(Integer lx) {
        this.lx = lx;
    }

    public Integer getQlx() {
        return qlx;
    }

    public void setQlx(Integer qlx) {
        this.qlx = qlx;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getYhkh() {
        return yhkh;
    }

    public void setYhkh(String yhkh) {
        this.yhkh = yhkh;
    }

    public String getYhklx() {
        return yhklx;
    }

    public void setYhklx(String yhklx) {
        this.yhklx = yhklx;
    }

    public String getYhmc() {
        return yhmc;
    }

    public void setYhmc(String yhmc) {
        this.yhmc = yhmc;
    }

    public String getYhdm() {
        return yhdm;
    }

    public void setYhdm(String yhdm) {
        this.yhdm = yhdm;
    }

    public String getBdzt() {
        return bdzt;
    }

    public void setBdzt(String bdzt) {
        this.bdzt = bdzt;
    }

    public String getSubno() {
        return subno;
    }

    public void setSubno(String subno) {
        this.subno = subno;
    }

    public String getMembercode() {
        return membercode;
    }

    public void setMembercode(String membercode) {
        this.membercode = membercode;
    }

    public String getTotalmoney() {
        return totalmoney;
    }

    public void setTotalmoney(String totalmoney) {
        this.totalmoney = totalmoney;
    }

    public String getWithdrawmoney() {
        return withdrawmoney;
    }

    public void setWithdrawmoney(String withdrawmoney) {
        this.withdrawmoney = withdrawmoney;
    }

    public String getPaymodel() {
        return paymodel;
    }

    public void setPaymodel(String paymodel) {
        this.paymodel = paymodel;
    }
}
